package com.company.project.modular.system.service;

import com.baomidou.mybatisplus.service.IService;
import com.company.project.modular.system.model.Purchase;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lsf
 * @since 2018-10-30
 */
public interface IPurchaseService extends IService<Purchase> {
    /**
     * 查询最大的buyId
     */
    List<Purchase> findByMaxNumber();

    List<Map<String,Object>> list(String condition);
}
